<?php

declare(strict_types=1);
/**
 *  +----------------------------------------------------------------------
 *  | 陀螺匠 [ 赋能开发者，助力企业发展 ]
 *  +----------------------------------------------------------------------
 *  | Copyright (c) 2016~2024 https://www.tuoluojiang.com All rights reserved.
 *  +----------------------------------------------------------------------
 *  | Licensed 陀螺匠并不是自由软件，未经许可不能去掉陀螺匠相关版权
 *  +----------------------------------------------------------------------
 *  | Author: 陀螺匠 Team <admin@tuoluojiang.com>
 *  +----------------------------------------------------------------------
 */

namespace crmeb\utils;

use Illuminate\Database\Migrations\Migration as LaravelMigration;

/**
 * Class Migration.
 */
class Migration extends LaravelMigration
{
    protected $prefix;

    /**
     * Migration constructor.
     */
    public function __construct()
    {
        $this->prefix = '';
    }

    /**
     * 获取表明.
     * @return string
     */
    protected function table(string $name)
    {
        return $this->prefix . $name;
    }
}
